<?php

namespace App\Enums;

enum MemberStatus : string
{
    //未点助教
    case NotAssistant = 'not_assistant';

    //已点助教
    case Assistant = 'assistant';

    //内虚拟
    case InnerVirtual = 'inner_virtual';

    //外虚拟
    case OuterVirtual = 'outer_virtual';

    //预定
    case Reserve = 'reserve';

    //预约
    case Appointment = 'appointment';

    public function label()
    {
        return match ($this) {
            self::NotAssistant => '未点助教',
            self::Assistant => '已点助教',
            self::InnerVirtual => '内虚拟',
            self::OuterVirtual => '外虚拟',
            self::Reserve => '预定',
            self::Appointment => '预约',
        };
    }
}
